package com.lkm.app_ui.m.Imple.push.handle;

import android.content.Context;

import com.lkm.app_ui.AppConst;
import com.lkm.market2_0.m.app_main.AppMainModule;
import com.mj.hx.yl.push.PushHandle;

import java.lang.reflect.Type;



public class PushSetGoodsButtonHandle  implements PushHandle<String>{
    @Override
    public Type getDataClass() {
        return String.class;
    }

    @Override
    public boolean handler(Context context, String steelyardMac) {

        AppMainModule appServerModule= AppConst.getModuleManager().loadModule(AppMainModule.class);

        if(appServerModule!=null){
            appServerModule.syncGoodsButtonToSteelyardForS(steelyardMac);

        }
        return true;
    }
}
